package cn.zt.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 银行卡，银行卡类型，余额关系表

 * @TableName bank_card_type
 */
@TableName(value ="bank_card_type")
@Data
public class BankCardType implements Serializable {
    /**
     * 主键自增
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 开户表外键
     */
    private Integer accountId;

    /**
     * 银行卡表外键
     */
    private Integer bankcardId;

    /**
     * 银行卡类型表外键
     */
    private Integer bankTypeId;

    /**
     * 余额表外键
     */
    private Integer balanceId;

    /**
     * 一类或二类外键
     */
    private Integer accountCardTypeId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}